package com.easy.frame.servers.sys.mapper.area;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easy.frame.servers.sys.entity.area.SysArea;
import com.easy.frame.servers.sys.vo.SysAreaVO;

/**
 * <p>
 * 区域表 Mapper 接口
 * </p>
 *
 * @author tp
 * @since 2021-06-08
 */
public interface SysAreaMapper extends BaseMapper<SysArea> {

    SysAreaVO selectParentAreaById(Integer parentAreaId);

    Integer selectMaxSeq(String path, int level);
}
